package edu_xy.hm_02.slice;

import edu_xy.hm_02.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
/*
    * 页面由两部分构成
    * 页面布局代码   xml
    * 后台逻辑代码   java

*/

public class MainAbilitySlice03 extends AbilitySlice {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        // 所关联的页面布局代码  xml
        super.setUIContent(ResourceTable.Layout_ability_main_03);
    }

    @Override
    public void onActive() {
        super.onActive();
    }

    @Override
    public void onForeground(Intent intent) {
        super.onForeground(intent);
    }
}
